package com.itheima.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/ex")
public class ExController {
    @RequestMapping("/test1")
    public String test1()throws Exception{
        String str = null;
        str.length();
        System.out.println("ex test..");
        int i=1/0;
        return "ex";

    }
}
